package org.ding.infra.mapper;

import org.ding.domain.entity.Score;
import org.ding.domain.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.ArrayList;
import java.util.List;

/**
* @author ding
* @description 针对表【student】的数据库操作Mapper
* @createDate 2023-03-23 20:05:57
* @Entity org.ding.pojo.Student
*/
public interface StudentMapper extends BaseMapper<Student> {

    List<Student> getAllStudent();

    Boolean updateStudent(String id, String name);

    Boolean deleteUserById(String id);

    Boolean insertStudent(Student student);

    List<Score> getScoreByUserName(String name);

    List<Student> getStudentByIds(ArrayList<String> list);

    Student testIf(String name);

    List<Student> getStudentByTeacherId(String id);

    Boolean multiInsert(List<Student> list);
}




